@include b (carousel) {
  position: relative;
  box-sizing: border-box;
  margin-bottom: 20px;
  @include e (arrow) {
    position: absolute;
    top: 50%;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    outline: none;
    border: 0;
    padding: 0;
    margin: 0;
    text-align: center;
    background: rgba(31, 45, 61, .11);
    color: #fff;
    transform: translateY(-50%);
    transition: all .2s;
    z-index: 2;
    cursor: pointer;
    &:hover {
      background: rgba(31, 45, 61, .5);
    }
    @include when(left) {
      left: 16px;
    }
    @include when(right) {
      right: 16px;
    }
  }
  @include e (dots-wrapper) {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
    z-index: 2;
    @include when (outside) {
      position: static;
    }
  }
  @include e (dot) {
    width: 16px;
    height: 3px;
    margin: 0 3px;
    background: #8391a5;
    opacity: .3;
    cursor: pointer;
    transition: all .3s;
    &:hover {
      opacity: .7;
    }
    @include when (active) {
      width: 26px;
      opacity: 1;
    }
  }
  @include e (items) {
    position: relative;
    height: 300px;
    overflow: hidden;
    @include b (carousel-item) {
      display: block;
      box-sizing: border-box;
      position: absolute;
      height: 100%;
      width: 100%;
      @include when (active) {
        z-index: 2;
      }
      @include when (animate) {
        transition: all .3s;
      }
    }
  }
}

.arrow-left-enter,
.arrow-left-leave-active {
  transform: translateY(-50%) translateX(-10px);
  opacity: 0;
}

.arrow-right-enter,
.arrow-right-leave-active {
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
}